#pragma once
#include "CPunt2D.h"

class CPunt3D :public Cpunt2D
{
public:
	CPunt3D(void);
	~CPunt3D(void);
	CPunt3D (int x,int y, int z);
	CPunt3D (const CPunt3D &p);
	CPunt3D operator=(const CPunt3D &p);
	int GetZ()const;
	void SetZ(int z);
	void Get(int &x, int &y, int &z)const;
	void Set(int x, int y, int z);

private:
	int m_z;


};
